package com.bjsxt.shoppingOnLine.shopping_service_api.service;

import java.util.List;
import java.util.Map;

import com.alibaba.fastjson.JSONObject;
import com.bjsxt.shoppingOnLine.shopping_service_api.pojo.AAdmins;
import com.bjsxt.shoppingOnLine.shopping_service_api.pojo.ARole;
import com.bjsxt.shoppingOnline.shopping_common.util.PageInfoUtil;


public interface IUsersService
{
	/**管理员操作开始========================
	 * 查找一条
	 */
	AAdmins findOneAdminsService(Map<String,Object> condMap);
	/**
	 * 更新一条
	 */
	JSONObject updateOneAdminsService(AAdmins admins);
	/**
	 * 删除一条
	 */
	JSONObject deleteOneAdminsService(AAdmins admins);
	/**
	 * 保存一条
	 */
	JSONObject saveOneAdminsService(AAdmins admins);
	/**
	 * 查询多条
	 */
	List<AAdmins> findCondListAdminsService(PageInfoUtil pageInfoUtil,Map<String,Object> condMap);
	
	
	
	
	
	/**角色操作开始========================
	 * 查找一条
	 */
	ARole findOneRoleService(Map<String,Object> condMap);
	/**
	 * 更新一条
	 */
	JSONObject updateOneRoleService(ARole Role);
	/**
	 * 删除一条
	 */
	JSONObject deleteOneRoleService(ARole Role);
	/**
	 * 保存一条
	 */
	JSONObject saveOneRoleService(ARole Role);
	/**
	 * 查询多条
	 */
	List<ARole> findCondListRoleService(PageInfoUtil pageInfoUtil,Map<String,Object> condMap);
	
	
	
	
	
}
